// copyright 1993 Michael B. Johnson; some portions copyright 1994, MIT
// see COPYRIGHT for reuse legalities
//

#import "RIBSolidEnd.h"

@implementation RIBSolidEnd

+ initialize { return [RIBSolidEnd setVersion:1], self; }

- (BOOL)pushesOrPopsCTM { return YES; }
- (BOOL)popsCTM { return YES; }

- renderSelf:(WW3DCamera *)camera startingAt:(RtFloat)shutterOpenTime endingAt:(RtFloat)shutterCloseTime
{
  RiSolidEnd();

  return self;
}

- writeEve:(NXStream *)stream atTabLevel:(int)tab
{
   int  i;


   for (i = 0; i < tab; i++)
   {  NXPrintf(stream, "\t");
   }
   NXPrintf(stream, "SolidEnd;"); 
   return self;
}

@end
